<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
    <th:block th:include="include :: header('查看用户发布任务')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="tab-content">
        <div class="form-horizontal m" th:object="${userTask}">
            <input name="taskId" th:field="*{taskId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">用户账号：</label>
                <div class="col-sm-8">
                    <input name="checkOpinion" readonly unselectable="on" th:field="*{createBy}" class="form-control"
                           type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">任务名称：</label>
                <div class="col-sm-8">
                    <input name="taskName" th:field="*{taskName}" readonly unselectable="on" class="form-control"
                           type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">所属学院：</label>
                <div class="col-sm-8">
                    <input name="address" th:field="*{address}" readonly unselectable="on" class="form-control"
                           type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">任务状态：</label>
                <div class="col-sm-8">
                    <input class="form-control" readonly unselectable="on"
                           th:value="${@dict.getLabel('user_task_status', userTask.taskStatus)}"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">任务赏金：</label>
                <div class="col-sm-8">
                    <input name="money" th:field="*{money}" readonly unselectable="on" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">电话号码：</label>
                <div class="col-sm-8">
                    <input name="phonenumber" th:field="*{phonenumber}" readonly unselectable="on" class="form-control"
                           type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">创建时间：</label>
                <div class="col-sm-8">
                    <input class="form-control" readonly unselectable="on"
                           th:value="${#dates.format(userTask.createTime,'yyyy-MM-dd HH:mm:ss')}"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">任务描述：</label>
                <div class="col-sm-8">
                <textarea name="taskDescription" th:field="*{taskDescription}" readonly unselectable="on"
                          class="form-control"
                          type="text"></textarea>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var prefix = ctx + "task/usertask";
</script>
</body>
</html>